/**
 * 
 */
package com.estock.common.model.security;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * @author richard
 *
 */
@Entity
@Table(name="RealTimeTrans")
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class RealTimeTrans extends BaseEntity {

	private static final long serialVersionUID = 8075639155253596749L;
	
	private String code;
	
	private Date sdate;
	
	private String stime;
	
	private double openPrice;
	
	private double highPrice;
	
	private double lowPrice;
	
	private double lastClosePrice;
	
	private double currentPrice;
	
	private double volumeSum;
	
	private double turnOver;
	
	private int buy1Vol;
	
	private int buy2Vol;
	
	private int buy3Vol;
	
	private int buy4Vol;
	
	private int buy5Vol;
	
	private int sell1Vol;
	
	private int sell2Vol;
	
	private int sell3Vol;
	
	private int sell4Vol;
	
	private int sell5Vol;
	
	private double buy1Price;
	
	private double buy2Price;
	
	private double buy3Price;
	
	private double buy4Price;
	
	private double buy5Price;
	
	private double sell1Price;
	
	private double sell2Price;
	
	private double sell3Price;
	
	private double sell4Price;
	
	private double sell5Price;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getSdate() {
		return sdate;
	}

	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public double getOpenPrice() {
		return openPrice;
	}

	public void setOpenPrice(double openPrice) {
		this.openPrice = openPrice;
	}

	public double getHighPrice() {
		return highPrice;
	}

	public void setHighPrice(double highPrice) {
		this.highPrice = highPrice;
	}

	public double getLowPrice() {
		return lowPrice;
	}

	public void setLowPrice(double lowPrice) {
		this.lowPrice = lowPrice;
	}

	public double getLastClosePrice() {
		return lastClosePrice;
	}

	public void setLastClosePrice(double lastClosePrice) {
		this.lastClosePrice = lastClosePrice;
	}

	public double getCurrentPrice() {
		return currentPrice;
	}

	public void setCurrentPrice(double currentPrice) {
		this.currentPrice = currentPrice;
	}

	public double getVolumeSum() {
		return volumeSum;
	}

	public void setVolumeSum(double volumeSum) {
		this.volumeSum = volumeSum;
	}

	public double getTurnOver() {
		return turnOver;
	}

	public void setTurnOver(double turnOver) {
		this.turnOver = turnOver;
	}

	public int getBuy1Vol() {
		return buy1Vol;
	}

	public void setBuy1Vol(int buy1Vol) {
		this.buy1Vol = buy1Vol;
	}

	public int getBuy2Vol() {
		return buy2Vol;
	}

	public void setBuy2Vol(int buy2Vol) {
		this.buy2Vol = buy2Vol;
	}

	public int getBuy3Vol() {
		return buy3Vol;
	}

	public void setBuy3Vol(int buy3Vol) {
		this.buy3Vol = buy3Vol;
	}

	public int getBuy4Vol() {
		return buy4Vol;
	}

	public void setBuy4Vol(int buy4Vol) {
		this.buy4Vol = buy4Vol;
	}

	public int getBuy5Vol() {
		return buy5Vol;
	}

	public void setBuy5Vol(int buy5Vol) {
		this.buy5Vol = buy5Vol;
	}

	public int getSell1Vol() {
		return sell1Vol;
	}

	public void setSell1Vol(int sell1Vol) {
		this.sell1Vol = sell1Vol;
	}

	public int getSell2Vol() {
		return sell2Vol;
	}

	public void setSell2Vol(int sell2Vol) {
		this.sell2Vol = sell2Vol;
	}

	public int getSell3Vol() {
		return sell3Vol;
	}

	public void setSell3Vol(int sell3Vol) {
		this.sell3Vol = sell3Vol;
	}

	public int getSell4Vol() {
		return sell4Vol;
	}

	public void setSell4Vol(int sell4Vol) {
		this.sell4Vol = sell4Vol;
	}

	public int getSell5Vol() {
		return sell5Vol;
	}

	public void setSell5Vol(int sell5Vol) {
		this.sell5Vol = sell5Vol;
	}

	public double getBuy1Price() {
		return buy1Price;
	}

	public void setBuy1Price(double buy1Price) {
		this.buy1Price = buy1Price;
	}

	public double getBuy2Price() {
		return buy2Price;
	}

	public void setBuy2Price(double buy2Price) {
		this.buy2Price = buy2Price;
	}

	public double getBuy3Price() {
		return buy3Price;
	}

	public void setBuy3Price(double buy3Price) {
		this.buy3Price = buy3Price;
	}

	public double getBuy4Price() {
		return buy4Price;
	}

	public void setBuy4Price(double buy4Price) {
		this.buy4Price = buy4Price;
	}

	public double getBuy5Price() {
		return buy5Price;
	}

	public void setBuy5Price(double buy5Price) {
		this.buy5Price = buy5Price;
	}

	public double getSell1Price() {
		return sell1Price;
	}

	public void setSell1Price(double sell1Price) {
		this.sell1Price = sell1Price;
	}

	public double getSell2Price() {
		return sell2Price;
	}

	public void setSell2Price(double sell2Price) {
		this.sell2Price = sell2Price;
	}

	public double getSell3Price() {
		return sell3Price;
	}

	public void setSell3Price(double sell3Price) {
		this.sell3Price = sell3Price;
	}

	public double getSell4Price() {
		return sell4Price;
	}

	public void setSell4Price(double sell4Price) {
		this.sell4Price = sell4Price;
	}

	public double getSell5Price() {
		return sell5Price;
	}

	public void setSell5Price(double sell5Price) {
		this.sell5Price = sell5Price;
	}
	
}
